package com.yuyue.springFramework.note01.entity;

public class ClassA {
    private ClassB classB;

    public ClassA(){}
    public ClassA(ClassB classB){
        this.classB = classB;
    }

    //set、get方法
    public ClassB getClassB() {
        return classB;
    }

    public void setClassB(ClassB classB) {
        this.classB = classB;
    }
}
